package com.xszx.serviceedu.client;

import com.xszx.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: 白熊
 * @Date: 2024/7/22 10:10
 */
@Component
@FeignClient("service-oss")//指定从哪个服务中调用功能,从nacos服务器中看
public interface OssClient {

    @DeleteMapping("/eduoss/file/url")
    R delete(@RequestParam("url") String url);
}
